using Common;
using MongoDB.Bson;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AnesSystem.Models
{
    public class ConfigAnesMethodsModel : ObservableObject
    {
        private ObjectId _id;
        private int index;
        private int parentId;
        private string code;     
        private string name;
        private int order;
        private bool deleted;

    

        public ObjectId Id
        {
            get
            {
                return _id;
            }

            set
            {
                _id = value;
                RaisePropertyChanged("Id");
            }
        }
        public string Code
        {
            get
            {
                return code;
            }

            set
            {
                code = value;
                RaisePropertyChanged("Code");
            }
        }
        public string Name
        {
            get
            {
                return name;
            }

            set
            {
                name = value;
                RaisePropertyChanged("Name");
            }
        }
        public bool Deleted
        {
            get
            {
                return deleted;
            }

            set
            {
                deleted = value;
                RaisePropertyChanged("Deleted");
            }
        }

        public int ParentId
        {
            get
            {
                return parentId;
            }

            set
            {
                parentId = value;
                RaisePropertyChanged("ParentId");
            }
        }

        public int Order
        {
            get
            {
                return order;
            }

            set
            {
                order = value;
                RaisePropertyChanged("Order");
            }
        }

        public int Index
        {
            get
            {
                return index;
            }

            set
            {
                index = value;
                RaisePropertyChanged("Index");
            }
        }
    }
}